package com.stormrage.entity.rep;

import java.io.Serializable;
import java.util.List;

/**
 * @author www.stormragetech.com
 * @date 2016年3月28日
 * @version 1.0.0
 */
public class ListRep implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = 8766805856909977950L;

	// ------------------------------- Fields -------------------------------

	private Integer count;

	private List<?> list;

	// ------------------------------- Fields -------------------------------

	public ListRep() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public List<?> getList() {
		return list;
	}

	public void setList(List<?> list) {
		this.list = list;
	}

	// ------------------------------- Fields -------------------------------

	public static ListRep instance(Integer count, List<?> list) {
		ListRep entity = new ListRep();
		entity.setCount(count);
		entity.setList(list);
		return entity;
	}

}
